package com.mf.webrtc;


import org.webrtc.IceCandidate;
import org.webrtc.SessionDescription;

public class Model {
    private String action;
    private SessionDescription answer;
    private SessionDescription offer;
    private IceCandidate candidate;

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public SessionDescription getAnswer() {
        return answer;
    }

    public void setAnswer(SessionDescription answer) {
        this.answer = answer;
    }

    public SessionDescription getOffer() {
        return offer;
    }

    public void setOffer(SessionDescription offer) {
        this.offer = offer;
    }

    public IceCandidate getCandidate() {
        return candidate;
    }

    public void setCandidate(IceCandidate candidate) {
        this.candidate = candidate;
    }

    @Override
    public String toString() {
        return "Model{" +
                "action='" + action + '\'' +
                ", answer='" + answer + '\'' +
                ", offer='" + offer + '\'' +
                '}';
    }
}
